import React, { Component } from 'react';

class View extends Component {
    render(){
        console.log(this.props)
        return(
            <div>
                这是子组件内容:{this.props.children}
                <br/>{this.props.nav}------这是left内容
            </div>
        )
    }
}
export default View;
